package com.zhongli.devplatform.po.common;

import com.alibaba.excel.metadata.BaseRowModel;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.poi.ss.usermodel.CellStyle;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadClazz")
@Data
@TableName(value = "read_clazz")
public class ReadClazzPO {
    /**
     * 主键自增
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="主键自增")
    private Integer id;

    /**
     * 年级编号
     */
    @TableField(value = "grade_id")
    @ApiModelProperty(value="年级编号")
    private Integer gradeId;

    /**
     * 班级名称
     */
    @TableField(value = "class_name")
    @ApiModelProperty(value="班级名称")
    private String className;

    /**
     * 班级人数
     */
    @TableField(value = "count")
    @ApiModelProperty(value="班级人数")
    private Integer count;

    /**
     * 创建人
     */
    @TableField(value = "create_user_id",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建人")
    private Integer createUserId;

    /**
     * 创建时间
     */
    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="创建时间")
    private Date createTime;

    @TableField(value = "school_id")
    private Integer schoolId;

    /**
     * 班级邀请码
     */
    @TableField(value = "Invitation_code")
    @ApiModelProperty(value="班级邀请码")
    private String invitationCode;

    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Date updateTime;

    @TableField(value = "update_user_id",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Integer updateUserId;

}
